import React, { useState,useEffect } from 'react';
import { Text, View, TouchableWithoutFeedback } from 'react-native';
export default function LinkText(props) {

    let { children, linktext ,onPressText} = props
    linktext = {
        fontSize: 35,
        textAlign: 'center',
        color:"#a3a3a3",
        ...linktext
    }
    return (
        <TouchableWithoutFeedback >
                <Text onPress={onPressText} style={linktext}>{children}</Text>
        </TouchableWithoutFeedback>
    );
}